package com.zhx.ad.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 *describe: 用户实体类
 *
 *@author zhanghaixuan
 *@date 2019/02/02
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("ad_creative")
public class AdCreative extends Model<AdCreative> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	private String name;

	private Integer type;

	private Integer materialType;
	private Integer height;
	private Integer width;

	private Long size;

	private Integer duration;

	private Integer auditStatus;

	private String userId;

	private String url;

	private Date createTime;

	private Date updateTime;
}
